package com.BaoHua.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.BaoHua.demo.webservice.ip.IpAddressSearchWebService;
import com.BaoHua.demo.webservice.ip.IpAddressSearchWebServiceSoap;
import com.BaoHua.demo.webservice.mobilecode.MobileCodeWS;
import com.BaoHua.demo.webservice.mobilecode.MobileCodeWSSoap;
import com.BaoHua.demo.webservice.qqonline.QqOnlineWebService;
import com.BaoHua.demo.webservice.qqonline.QqOnlineWebServiceSoap;
import com.BaoHua.demo.webservice.traditionalsimplified.TraditionalSimplifiedWebService;
import com.BaoHua.demo.webservice.traditionalsimplified.TraditionalSimplifiedWebServiceSoap;
import com.BaoHua.demo.webservice.traintime.TrainTimeWebService;
import com.BaoHua.demo.webservice.traintime.TrainTimeWebServiceSoap;
import com.BaoHua.demo.webservice.translator.TranslatorWebService;
import com.BaoHua.demo.webservice.translator.TranslatorWebServiceSoap;
import com.BaoHua.demo.webservice.weather.WeatherWebService;
import com.BaoHua.demo.webservice.weather.WeatherWebServiceSoap;

/**
 * webservice功能服务
* @ClassName: IpConfig  
* @Description: TODO()  
* @author fengzihao  
* @date 2018年9月1日  
*
 */
@Configuration
public class WebServiceConfig {

	/**
	 * ip查询
	* @Title: ipWebService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return IpAddressSearchWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
    public IpAddressSearchWebServiceSoap ipWebService(){
        return new IpAddressSearchWebService().getIpAddressSearchWebServiceSoap();
    }
	
	/**
	 * 来店地址归属服务
	* @Title: mobileWebService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return MobileCodeWSSoap    返回类型  
	* @throws
	 */
	@Bean
    public MobileCodeWSSoap mobileWebService(){
        return new MobileCodeWS().getMobileCodeWSSoap();
    }
	
	/**
	 * qq在线服务
	* @Title: qqWebService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return QqOnlineWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
    public QqOnlineWebServiceSoap qqWebService(){
        return new QqOnlineWebService().getQqOnlineWebServiceSoap();
    }
	
	/**
	 * 繁体字转换
	* @Title: simplifiedService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return TraditionalSimplifiedWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
	public TraditionalSimplifiedWebServiceSoap simplifiedService() {
		return new TraditionalSimplifiedWebService().getTraditionalSimplifiedWebServiceSoap();
	}
	
	/**
	 * 英文双向翻译
	* @Title: translatorService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return TranslatorWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
	public TranslatorWebServiceSoap translatorService() {
		return new TranslatorWebService().getTranslatorWebServiceSoap();
	}
	
	/**
	 * 天气预报
	* @Title: weatherWebService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return WeatherWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
	public WeatherWebServiceSoap weatherWebService() {
		return new WeatherWebService().getWeatherWebServiceSoap();
	}
	
	/**
	 * 火车时刻表 WEB 服务 （第六次提速最新列车时刻表）
	* @Title: traintimewebService  
	* @Description: TODO()  
	* @param @return    参数  
	* @return TrainTimeWebServiceSoap    返回类型  
	* @throws
	 */
	@Bean
	public TrainTimeWebServiceSoap traintimewebService() {
		return new TrainTimeWebService().getTrainTimeWebServiceSoap();
	}
}
